package cn.wetcland.urban.framework.mapper;

import cn.wetcland.urban.framework.vo.CarBrandListItemVO;
import cn.wetcland.urban.framework.vo.CarSerialListItemVO;
import cn.wetcland.urban.framework.vo.DriverCarDetailsVO;
import cn.wetcland.urban.generator.domain.UtCar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Wetcland
* @description 针对表【ut_car】的数据库操作Mapper
* @createDate 2024-01-21 09:51:59
* @Entity generator.domain.UtCar
*/
@Mapper
public interface UtCarMapper extends BaseMapper<UtCar> {

    List<CarBrandListItemVO> selectCarBrandList();

    List<CarSerialListItemVO> selectCarSerialList(@Param("parentId") Long parentId);

    DriverCarDetailsVO selectDriverCarDetailsByDriverId(@Param("driverId") Long driverId);
}




